//
//  LBLoadingTipsView.h
//  AFNetworking
//
//  Created by LINAICAI on 2018/1/29.
//

#import <UIKit/UIKit.h>
@class LBLoadingFullView;
typedef void(^retryCompleteHandler)(LBLoadingFullView *);
typedef NS_OPTIONS(NSUInteger, LBLoadingFullViewStyle) {
    LBLoadingTipsViewError = 1 << 0,
    LBLoadingTipsViewLoading = 1 << 1,
};
@interface LBLoadingFullView : UIView
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE;
- (instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE;
- (instancetype)initWithStyle:(LBLoadingFullViewStyle)style NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithStyle:(LBLoadingFullViewStyle)style retry:(retryCompleteHandler)retry NS_DESIGNATED_INITIALIZER;
- (void)showInView:(UIView *)view;
- (void)dismiss;
@end
